class CreateCycles < ActiveRecord::Migration
  def self.up
    create_table :cycles do |t|   
      t.column :name, :string
      t.column :description, :text
      t.column :start_on, :date
      t.column :close_on, :date   
      t.column :notify_on, :date
      t.column :form_id, :string
      t.column :active, :boolean, :default => true
    end
  end

  def self.down
    drop_table :cycles
  end
end
